package com.yiqi.lottery.entity.bo;

import com.suozhang.framework.entity.bo.BaseEntity;

public class RechargeBo implements BaseEntity {

    /**
     * recharge_sn : 2018051454575697
     * pay_type : 1
     * value : 1
     * user_id : 9
     * pay_fee : 1
     * created_at : 1526268070
     * updated_at : 1526268070
     * status : 1
     * id : 3
     */
    private String alipay;
    private String recharge_sn;
    private Integer pay_type;
    private Double value;
    private Integer user_id;
    private String pay_fee;
    private Integer created_at;
    private Integer updated_at;
    private Integer status;
    private Integer id;





    /**
     * ylpay : {"ResultCode":200,"ResultMsg":"请求成功","PrePayType":0,"PrePay":"http://a.tepos.cn/Payment/DynamicView?PK_AVCID=201811061659143360000000000000084614","MerchantOrderNumber":"2018110649555210","PlatformOrderNumber":"8110616591814281613","OrderAmount":100,"PlaceOrderTime":"2018-11-06 16:59:14"}
     * recharge_id : 431
     */


    private String recharge_id;

    private PostDataBean post_data;
    private WxPayBo wxpay;
    private String url;
    /**
     * post_data : {"outOid":"2018111752579857","merchantCode":201811151200581101,"mgroupCode":"group_gxmy_test","tranAmount":1000,"payType":38,"goodName":"充值","sign":"724A7B0A89D95F0FC9EFE51B7467326A","notifyUrl":"http://api.chcz123.com/v1/balance/recharge-yl-callback","pageUrl":"http://api.chcz123.com/v1/balance/pagenotify"}
     * post_url : http://testapi.cszf1.com/openapi/pay/order/createpage
     */

    private String post_url;

    public PostDataBean getPost_data() {
        return post_data;
    }

    public void setPost_data(PostDataBean post_data) {
        this.post_data = post_data;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public WxPayBo getWxpay() {
        return wxpay;
    }

    public void setWxpay(WxPayBo wxpay) {
        this.wxpay = wxpay;
    }

    public String getAlipay() {
        return alipay;
    }

    public void setAlipay(String alipay) {
        this.alipay = alipay;
    }

    public String getRecharge_sn() {
        return recharge_sn;
    }

    public void setRecharge_sn(String recharge_sn) {
        this.recharge_sn = recharge_sn;
    }

    public Integer getPay_type() {
        return pay_type;
    }

    public void setPay_type(Integer pay_type) {
        this.pay_type = pay_type;
    }

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getPay_fee() {
        return pay_fee;
    }

    public void setPay_fee(String pay_fee) {
        this.pay_fee = pay_fee;
    }

    public Integer getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Integer created_at) {
        this.created_at = created_at;
    }

    public Integer getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(Integer updated_at) {
        this.updated_at = updated_at;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public RechargeBo(Double value) {
        this.value = value;
    }

    public RechargeBo() {
    }


    public String getRecharge_id() {
        return recharge_id;
    }

    public void setRecharge_id(String recharge_id) {
        this.recharge_id = recharge_id;
    }


    public String getPost_url() {
        return post_url;
    }

    public void setPost_url(String post_url) {
        this.post_url = post_url;
    }

    public static class PostDataBean implements BaseEntity {
        /**
         * outOid : 2018111752579857
         * merchantCode : 201811151200581101
         * mgroupCode : group_gxmy_test
         * tranAmount : 1000
         * payType : 38
         * goodName : 充值
         * sign : 724A7B0A89D95F0FC9EFE51B7467326A
         * notifyUrl : http://api.chcz123.com/v1/balance/recharge-yl-callback
         * pageUrl : http://api.chcz123.com/v1/balance/pagenotify
         */

        private String outOid;
        private String merchantCode;
        private String mgroupCode;
        private String tranAmount;
        private String payType;
        private String goodName;
        private String sign;
        private String notifyUrl;
        private String pageUrl;

        public String getOutOid() {
            return outOid;
        }

        public void setOutOid(String outOid) {
            this.outOid = outOid;
        }

        public String getMerchantCode() {
            return merchantCode;
        }

        public void setMerchantCode(String merchantCode) {
            this.merchantCode = merchantCode;
        }

        public String getMgroupCode() {
            return mgroupCode;
        }

        public void setMgroupCode(String mgroupCode) {
            this.mgroupCode = mgroupCode;
        }

        public String getTranAmount() {
            return tranAmount;
        }

        public void setTranAmount(String tranAmount) {
            this.tranAmount = tranAmount;
        }

        public String getPayType() {
            return payType;
        }

        public void setPayType(String payType) {
            this.payType = payType;
        }

        public String getGoodName() {
            return goodName;
        }

        public void setGoodName(String goodName) {
            this.goodName = goodName;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getNotifyUrl() {
            return notifyUrl;
        }

        public void setNotifyUrl(String notifyUrl) {
            this.notifyUrl = notifyUrl;
        }

        public String getPageUrl() {
            return pageUrl;
        }

        public void setPageUrl(String pageUrl) {
            this.pageUrl = pageUrl;
        }
    }


    public class WxPayBo implements BaseEntity {

        /**
         * appid : wxd8ac4507663de05e
         * partnerid : 1505201741
         * prepayid : wx04122010256040314c1bdace1359955590
         * package : Sign=WXPay
         * noncestr : itp2yphk5wii7zuzynz8dahhfy32en6q
         * timestamp : 1528086010
         * sign : F7E2E75F6C4928EDFD0F17839D5ECF1B
         */

        private String appid;
        private String partnerid;
        private String prepayid;

        private String noncestr;
        private String timestamp;
        private String sign;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }


        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }
    }
}
